package server.business.pojo;
//是组成业务的各个流程


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_process")
public class ProcessEntity {
    @TableId(value = "id",type = IdType.AUTO)

    private Integer id;
    private String bussnessname;
    private String inputmsg;
    private String outputmsg;
    private String classpath;
    private String frontpath;
    private String method;
    @TableField(exist = false)
    private  String currentbussnessnum;


    public String getCurrentbussnessnum() {
        return currentbussnessnum;
    }

    public void setCurrentbussnessnum(String currentbussnessnum) {
        this.currentbussnessnum = currentbussnessnum;
    }

    @Override
    public String toString() {
        return "Process{" +
                "id=" + id +
                ", bussnessname='" + bussnessname + '\'' +
                ", inputmsg='" + inputmsg + '\'' +
                ", outputmsg='" + outputmsg + '\'' +
                ", classpath='" + classpath + '\'' +
                ", frontpath='" + frontpath + '\'' +
                ", method='" + method + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBussnessname() {
        return bussnessname;
    }

    public void setBussnessname(String bussnessname) {
        this.bussnessname = bussnessname;
    }

    public String getInputmsg() {
        return inputmsg;
    }

    public void setInputmsg(String inputmsg) {
        this.inputmsg = inputmsg;
    }

    public String getOutputmsg() {
        return outputmsg;
    }

    public void setOutputmsg(String outputmsg) {
        this.outputmsg = outputmsg;
    }

    public String getClasspath() {
        return classpath;
    }

    public void setClasspath(String classpath) {
        this.classpath = classpath;
    }

    public String getFrontpath() {
        return frontpath;
    }

    public void setFrontpath(String frontpath) {
        this.frontpath = frontpath;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public ProcessEntity() {
    }

    public ProcessEntity(Integer id, String bussnessname, String inputmsg, String outputmsg, String classpath, String frontpath, String method) {
        this.id = id;
        this.bussnessname = bussnessname;
        this.inputmsg = inputmsg;
        this.outputmsg = outputmsg;
        this.classpath = classpath;
        this.frontpath = frontpath;
        this.method = method;
    }
}
